package com.xiaoyung.easyisapisdk.common.file.request;

import java.util.Date;
import java.util.Map;

//import io.swagger.annotations.ApiModelProperty;

public class GetFileAccessUrlRequest {

	//@ApiModelProperty("id")
	private String id;

	//@ApiModelProperty("storageKey")
	private String storageKey;

	//@ApiModelProperty("操作人")
	private String createBy;

	//@ApiModelProperty("过期时间")
	private Date expiration;
	
	//@ApiModelProperty("urlType")
	private String urlType;
	
	public static final String URLTYPE_PREVIEW = "preview";
	public static final String URLTYPE_PREVIEWTOKEN = "previewtoken";
	public static final String URLTYPE_ATTACHMENT = "attachment";
	public static final String URLTYPE_INLINE = "inline";
	
	//@ApiModelProperty("query")
	private Map<String,String> query;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStorageKey() {
		return storageKey;
	}

	public void setStorageKey(String storageKey) {
		this.storageKey = storageKey;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getExpiration() {
		return expiration;
	}

	public void setExpiration(Date expiration) {
		this.expiration = expiration;
	}

	public String getUrlType() {
		return urlType;
	}

	public void setUrlType(String urlType) {
		this.urlType = urlType;
	}

	public Map<String, String> getQuery() {
		return query;
	}

	public void setQuery(Map<String, String> query) {
		this.query = query;
	}

	/*@ApiModelProperty("type(preview|download)")
	private String type;*/
	
	
}
